<?php
class reportdefconfig 
{
   public $configuration;
   function __construct(){
     $this->configuration = array(
  'general'=>array(
    'tableName' => 'reportdef',
    'isView' => False,
    'isReadOnly' => False,
    'canBeDeleted' => True,
    'hasStatus' => False,
    'hasAttach' => True,
    'description' => '',
    'orderFields' => '',
    'labelSingular' => 'Report definition',
    'labelPlural' => 'Report definitions',
    'descriptor' => 'title',
    'timeStampable' => True,
    'formExtraTemplate' => '',
    'showExtraTemplate' => '',
    'indexExtraTemplate' => '',
    'filesPathName' => 'reportdefs',
  ),
  'attributes'=>array(
    'id' => array( 
      'type' => 'integer',
      'size' => '',
      'label' => '',
      'help' => '',
      'list' => False,
      'show' => False,
      'search' => False,
      'notnull' => True,
      'readOnly' => True,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => '',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'id',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'code' => array( 
      'type' => 'string',
      'size' => '',
      'label' => 'Code',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => True,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'D&eacute;tails',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'code',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'title' => array( 
      'type' => 'string',
      'size' => '',
      'label' => 'Title',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => True,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'D&eacute;tails',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'title',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'section' => array( 
      'type' => 'string',
      'size' => '',
      'label' => 'Section',
      'help' => 'Section to group reports',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'D&eacute;tails',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'section',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'type' => array( 
      'type' => 'enum',
      'size' => '',
      'label' => 'Type',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => True,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'D&eacute;tails',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'type',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'description' => array( 
      'type' => 'string',
      'size' => '',
      'label' => 'Description',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'D&eacute;tails',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'description',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'commentaire' => array( 
      'type' => 'blob',
      'size' => '',
      'label' => 'Comments',
      'help' => '',
      'list' => False,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'D&eacute;tails',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'commentaire',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'fichier' => array( 
      'type' => 'file',
      'size' => '',
      'label' => 'File',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'D&eacute;tails',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'fichier',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => 'objectID',
  ),
    'module' => array( 
      'type' => 'string',
      'size' => '',
      'label' => 'Module',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'D&eacute;tails',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'module',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'action' => array( 
      'type' => 'string',
      'size' => '',
      'label' => 'Action',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'D&eacute;tails',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'action',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'preExecution' => array( 
      'type' => 'blob',
      'size' => '',
      'label' => 'Script Pre-Execution',
      'help' => 'Scripts PHP to be executed before SQL query',
      'list' => False,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'D&eacute;tails',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'preExecution',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'javascript' => array( 
      'type' => 'blob',
      'size' => '',
      'label' => 'JavaScript',
      'help' => 'Scripts Java to be executed in the template',
      'list' => False,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'D&eacute;tails',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'javascript',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'public' => array( 
      'type' => 'boolean',
      'size' => '',
      'label' => 'Public',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'D&eacute;tails',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'public',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'hidden' => array( 
      'type' => 'boolean',
      'size' => '',
      'label' => 'Occulter',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Principal',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'hidden',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'roles' => array( 
      'type' => 'CheckboxList',
      'size' => '',
      'label' => 'Groups',
      'help' => '',
      'list' => False,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'D&eacute;tails',
      'step' => '',
      'totalfunction' => '',
      'relationType' => 'Many To Many',
      'relatedClass' => 'role',
      'refClass' => 'reportrole',
      'alias' => 'roles',
      'foreignAlias' => 'reportdef_role',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'personnes' => array( 
      'type' => 'BOList',
      'size' => '',
      'label' => 'Users',
      'help' => '',
      'list' => False,
      'show' => True,
      'search' => False,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'D&eacute;tails',
      'step' => '',
      'totalfunction' => '',
      'relationType' => 'One To Many',
      'relatedClass' => 'reportpersonne',
      'alias' => 'personnes',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
  ),
  'attributesWithTotal'=>array(
  ),
  );
 }
 }
